package com.roads.workflow.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 流程管理-计量流程节点用户对象 workflow_meterage_node_user
 *
 * @author nhp
 * @date 2022-05-30
 */
public class WorkflowMeterageNodeUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Integer id;

    /**
     * 流程uuid
     */
    private String workflowUuid;

    /**
     * 流程节点uuid
     */
    private String workflowNodeUuid;

    /**
     * 用户
     */
    private String user;

    /**
     * 用户名称
     */
    private String name;


    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setWorkflowUuid(String workflowUuid) {
        this.workflowUuid = workflowUuid;
    }

    public String getWorkflowUuid() {
        return workflowUuid;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getUser() {
        return user;
    }

    public void setWorkflowNodeUuid(String workflowNodeUuid) {
        this.workflowNodeUuid = workflowNodeUuid;
    }

    public String getWorkflowNodeUuid() {
        return workflowNodeUuid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workflowUuid", getWorkflowUuid())
            .append("workflowNodeUuid", getWorkflowNodeUuid())
            .append("user", getUser())
            .append("name", getName())
            .toString();
    }

}
